const RenderProvide = {
    name: 'RenderProvide',
    props: {
        value: {
            type: [Array, String, Object, Function, Number, Boolean],
            default: () => ({}),
        },
    },
    provide() {
        return {
            connectStore: this.$props,
        }
    },
    render() {
        const {$slots} = this;
        return $slots && $slots.default;
    }
};

export default RenderProvide;
